/**
 * @author Eduardo Ottaviani
 */
	
(function(){
	
	var pages = [
		"pages/conteudo1.htm",
		"pages/conteudo2.htm",
		"pages/conteudo3.htm",
		"pages/conteudo4.htm",
		"pages/conteudo5.htm"
	]
	
	var options = {
		map:function(element){
			$(element)
				.css({
					'border': '1px solid red',
					'width' : '300px',
					'height': '50px',
					'margin': 'auto'
				})				
			
		},			
		currency: true,
		nextPrev: { hidePages: false }					
	}
	
	var pagination = new jsP.Class('content')
		pagination . open({		
			$ : options,				
			size   : pages.length,
			show   : 3,
			iterate: function(x){			
				$('<li />').appendTo(this).load( pages[x] )				
			},
			callback: function(){}			
		})
	
})()
